<?php

namespace Alipay\AlipayAuth\Request;

use Alipay\Common\RequestBase;
use Alipay\AlipayAuth\Response\AlipayAuthISVInviteQueryResponse;

class AlipayAuthISVInviteQueryRequest extends RequestBase
{
    protected $method = 'alipay.open.invite.order.query';

    protected $response = AlipayAuthISVInviteQueryResponse::class;

    /**
     * isv业务系统单据编号
     * @var string $bizNo
     */
    protected $bizNo;

    public function generate(): array
    {
        return [
            'isv_biz_id' => $this->bizNo
        ];
    }

    /**
     * @param string $bizNo
     * @return AlipayAuthISVInviteQueryRequest
     */
    public function setBizNo(string $bizNo): self
    {
        $this->bizNo = $bizNo;
        return $this;
    }
}
